package com.smartcommunity.api.peopleRegular;

import com.smartcommunity.api.peopleRegular.fallBack.LateAtNightPersonnelApiFallBack;
import com.smartcommunity.bean.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author nieming
 * @descrition
 * @date 2020/6/8
 */
@FeignClient(value = "np-zhsq-people-regular-service", fallback = LateAtNightPersonnelApiFallBack.class)
public interface LateAtNightPersonnelApi {
	
    @RequestMapping(method = RequestMethod.GET, value = "/lateAtNightPersonnel/getLateAtNightStatistics", consumes = MediaType.APPLICATION_JSON_VALUE)
    Result<Integer> getLateAtNightStatistics();
}
